package com.exam.mysql;

import com.exam.entity.SysQuestion;
import com.exam.entity.SysQuestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysQuestionDao {
    long countByExample(SysQuestionExample example);

    int deleteByExample(SysQuestionExample example);

    int deleteByPrimaryKey(Integer queid);

    int insert(SysQuestion record);

    int insertSelective(SysQuestion record);

    List<SysQuestion> selectByExample(SysQuestionExample example);

    SysQuestion selectByPrimaryKey(Integer queid);

    int updateByExampleSelective(@Param("record") SysQuestion record, @Param("example") SysQuestionExample example);

    int updateByExample(@Param("record") SysQuestion record, @Param("example") SysQuestionExample example);

    int updateByPrimaryKeySelective(SysQuestion record);

    int updateByPrimaryKey(SysQuestion record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_question
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysQuestion> list);
}